import { ApiProperty, PartialType } from '@nestjs/swagger';
import { ResFailDto, ResSuccessDto } from './base.dto';

// req
export class GetTagReqDto {
  @ApiProperty({
    required: true,
  })
  tagname: string;
}

// res
export class GetTagResSuccessDto extends PartialType(ResSuccessDto) {
  @ApiProperty({
    type: 'object',
    default: {
      tagname: '',
    },
  })
  data: any;
}

export class GetTagResFailDto extends PartialType(ResFailDto) {}
